home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 33 / Amiga Format AFCD33 (Issue 117, Dec 1998).iso / -seriously_amiga- / programming / c / qtools0.2 / archives / qtools0.2-src.lha / Makefile.in < prev    next >
Makefile  |  1998-07-13  |  954b  |  32 lines

  1. # MakeFile for QuakeTools
  2.  
  3. .PHONY:  default profile coverage branch all utils install ansi test \
  4.     testprofile testcoverage clean cleanprofile cleancoverage cleanall \
  5.     distclean backup restore
  6.  
  7. default profile coverage branch all utils install % :
  8.     cd ./src; $(MAKE) -$(MAKEFLAGS) $@;
  9.  
  10. test testprofile testcoverage:
  11.     cd ./src; $(MAKE) -$(MAKEFLAGS) test;
  12.     cd ./testfarm; $(MAKE) -$(MAKEFLAGS) $@;
  13.  
  14. clean cleanprofile cleancoverage cleanall:
  15.     cd ./src; $(MAKE) -$(MAKEFLAGS) $@;
  16.     cd ./testfarm; $(MAKE) -$(MAKEFLAGS) $@;
  17.  
  18. distclean:
  19.     cd ./src; $(MAKE) -$(MAKEFLAGS) $@;
  20.     cd ./testfarm; $(MAKE) -$(MAKEFLAGS) clean;
  21.     @TAR@ cf - bin docs lib src testfarm * | @GZIP@ -9 >../qtools-0.1.tgz
  22.  
  23. backup: Makefile
  24.     cp Makefile Makefile.bak
  25.     cd ./src; $(MAKE) -$(MAKEFLAGS) $@;
  26.     cd ./testfarm; $(MAKE) -$(MAKEFLAGS) $@;
  27. restore: Makefile.bak
  28.     cp Makefile.bak Makefile
  29.     rm Makefile.bak
  30.     cd ./src; $(MAKE) -$(MAKEFLAGS) $@;
  31.     cd ./testfarm; $(MAKE) -$(MAKEFLAGS) $@;
  32.